import request from "../utils/requiest"


//首页的接口
export let getIndexNav = ()=>{
    return request.post('/api/service/home', {mid: 0, phoneTerminal: 2});
}
export let getCarouselList = ()=>{
    return request.post('/api/service/carouselList', {mid: 0, phoneTerminal: 2});
}
export let getRankList = ()=>{
    return request.post('/api/service/rankPage', {mid: 0, orderBy: 1});
}
export let getArticlePage = ()=>{
    return request.post("/api/service/articlePage",{mid:0,orderBy:1,rankCategoryId:0,pageNo:1})
}